import { WeaTools } from 'ecCom';

// 获取附件预览基本信息
export const getFilePreviewInfoForPC = params => WeaTools.callApi('/api/email/view/getFilePreviewInfoForPC', 'GET', params);

// 获取附件预览地址
export const getFilePreviewUrlForPC = params => WeaTools.callApi('/api/email/view/getFilePreviewUrlForPC', 'GET', params);

// 文档-- 获取文档预览地址
export const convertForEmail = params => WeaTools.callApi('/api/doc/acc/convertForEmail', 'POST', params);
